package com.feng.timu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 候选答案
 * </p>
 *
 * @author feng
 * @since 2023-03-21 15:34:38
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("el_qu_answer")
@ApiModel(value = "QuAnswer对象", description = "候选答案")
public class QuAnswer {

    @ApiModelProperty("答案ID")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty("问题ID")
    @TableField("qu_id")
    private String quId;

    @ApiModelProperty("是否正确")
    @TableField("is_right")
    private Integer isRight;

    @ApiModelProperty("选项图片")
    @TableField("image")
    private String image;

    @ApiModelProperty("答案内容")
    @TableField("content")
    private String content;

    @ApiModelProperty("答案分析")
    @TableField("analysis")
    private String analysis;


}
